<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".WaterActivity"
    android:background="@drawable/gradient_water_1"
    android:id="@+id/mainWater">

    <TextView
        android:id="@+id/steps_stepsDone2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="миллилитров"
        android:layout_marginBottom="8dp"
        android:textColor="#FFFFFF"
        android:textSize="15sp"
        android:fontFamily="@font/tt_travels_extra_bold"
        android:letterSpacing="0.1"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/linearLayout2" />

    <LinearLayout
        android:id="@+id/linearLayout2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="8dp"
        android:orientation="horizontal"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/cardView">

        <TextView
            android:id="@+id/steps_stepsDone"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="00"
            android:textColor="#FFFFFF"
            android:fontFamily="@font/tt_travels_extra_bold"
            android:letterSpacing="0.1"
            android:textSize="35sp"/>

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_marginHorizontal="4dp"
            android:gravity="center"
            android:text="/"
            android:textColor="#FFFFFF"
            android:fontFamily="@font/tt_travels_extra_bold"
            android:letterSpacing="0.1"
            android:textSize="35sp"/>

        <TextView
            android:id="@+id/steps_stepsNeed"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="00"
            android:textColor="#FFFFFF"
            android:fontFamily="@font/tt_travels_extra_bold"
            android:letterSpacing="0.1"
            android:textSize="35sp"/>
    </LinearLayout>

    <LinearLayout
        android:id="@+id/linearLayout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:padding="4dp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <ImageButton
            android:id="@+id/steps_back"
            android:layout_width="40dp"
            android:layout_height="40dp"
            android:scaleType="centerCrop"
            android:background="#00000000"
            android:src="@drawable/water_back"
            android:layout_margin="8dp"/>

        <TextView
            android:id="@+id/textView2"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="вода"
            android:textAllCaps="true"
            android:textColor="#FFFFFF"
            android:textSize="26sp"
            android:fontFamily="@font/tt_ravels_extra_bold_italic"
            android:letterSpacing="0.1"
            android:gravity="center"
            android:layout_margin="15dp"
            />

        <ImageButton
            android:id="@+id/water_settings"
            android:layout_width="45dp"
            android:layout_height="45dp"
            android:scaleType="centerCrop"
            android:background="#00FFFFFF"
            android:src="@drawable/water_settings"
            android:layout_margin="8dp"/>
    </LinearLayout>

    <eightbitlab.com.blurview.BlurView
        android:id="@+id/cardView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="8dp"
        app:cardBackgroundColor="#00FFFFFF"
        app:cardCornerRadius="10dp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/linearLayout"
        android:background="@drawable/rounded_rectangle_01">

        <TextView
            android:id="@+id/steps_date"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="8dp"
            android:text="00 месяц 0000"
            android:textColor="#FFFFFF"
            android:textSize="15sp"
            android:fontFamily="@font/tt_travels_extra_bold"
            android:letterSpacing="0.1"/>
    </eightbitlab.com.blurview.BlurView>

    <ImageButton
        android:id="@+id/steps_addSteps"
        android:layout_width="65dp"
        android:layout_height="65dp"
        android:layout_margin="20dp"
        android:background="#00FFFFFF"
        android:scaleType="centerCrop"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/steps_stepsDone2"
        app:srcCompat="@drawable/water_add" />

    <eightbitlab.com.blurview.BlurView
        android:id="@+id/blurView"
        android:layout_width="match_parent"
        android:layout_height="430dp"
        android:layout_margin="8dp"
        android:layout_marginTop="32dp"
        app:cardCornerRadius="50dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        android:background="@drawable/rounded_rectangle_01">

        <com.github.mikephil.charting.charts.BarChart
            android:id="@+id/steps_barChart"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_margin="16dp"/>
    </eightbitlab.com.blurview.BlurView>

</androidx.constraintlayout.widget.ConstraintLayout>